package com.yidu.erp.model;

import java.text.SimpleDateFormat;
import java.util.Date;
/**
 * 生产计划model
 * @author hujiaqian
 *
 */
public class BeyondProdesign {
    private String designId;

    private BeyondStaff staff;

    private String designNumber;

    private Double designMoney;

    private Integer designCount;

    private Date designEmetime;

    private String designIsvo;

    private Date designEndtime;

    private String valDesignEmetime;
    private String valDesignEndtime;
    
    private String tabstrtime;
    private String tabstrtimes;
    
    private String proName;
    
    private String tabstr;
    
    private Date optime;
    
    


	public Date getOptime() {
		return optime;
	}

	public void setOptime(Date optime) {
		this.optime = optime;
	}


	public String getProName() {
		return proName=staff.getStaffName();
	}


	public void setProName(String proName) {
		this.proName = staff.getStaffName();
	}


	public String getTabstrtimes() {
		SimpleDateFormat sdf =new SimpleDateFormat( " yyyy-MM-dd" );
		return tabstrtimes=sdf.format(designEndtime);
		
	}


	public void setTabstrtimes(String tabstrtimes) {
		SimpleDateFormat sdf =new SimpleDateFormat( " yyyy-MM-dd" );
		this.tabstrtimes=sdf.format(designEndtime);
		
	}


	public String getTabstrtime() {
		SimpleDateFormat sdf =new SimpleDateFormat( " yyyy-MM-dd" );
		return tabstrtime=sdf.format(designEmetime);
	}


	public void setTabstrtime(String tabstrtime) {
		SimpleDateFormat sdf =new SimpleDateFormat( " yyyy-MM-dd" );
		this.tabstrtime = sdf.format(designEmetime);
	}

	public String getValDesignEmetime() {
		return valDesignEmetime;
	}

	public void setValDesignEmetime(String valDesignEmetime) {
		this.valDesignEmetime = valDesignEmetime;
	}

	public String getValDesignEndtime() {
		return valDesignEndtime;
	}

	public void setValDesignEndtime(String valDesignEndtime) {
		this.valDesignEndtime = valDesignEndtime;
	}

	public String getTabstr() {
		return tabstr;
	}

	public void setTabstr(String tabstr) {
		this.tabstr = tabstr;
	}

	public String getDesignId() {
        return designId;
    }

    public void setDesignId(String designId) {
        this.designId = designId == null ? null : designId.trim();
    }

   

   
	public BeyondStaff getStaff() {
		return staff;
	}


	public void setStaff(BeyondStaff staff) {
		this.staff = staff;
	}

	public String getDesignNumber() {
        return designNumber;
    }

    public void setDesignNumber(String designNumber) {
        this.designNumber = designNumber == null ? null : designNumber.trim();
    }

    public Double getDesignMoney() {
        return designMoney;
    }

    public void setDesignMoney(Double designMoney) {
        this.designMoney = designMoney;
    }

    public Integer getDesignCount() {
        return designCount;
    }

    public void setDesignCount(Integer designCount) {
        this.designCount = designCount;
    }

    public Date getDesignEmetime() {
        return designEmetime;
    }

    public void setDesignEmetime(Date designEmetime) {
        this.designEmetime = designEmetime;
    }

    public String getDesignIsvo() {
        return designIsvo;
    }

    public void setDesignIsvo(String designIsvo) {
        this.designIsvo = designIsvo == null ? null : designIsvo.trim();
    }

    public Date getDesignEndtime() {
        return designEndtime;
    }

    public void setDesignEndtime(Date designEndtime) {
        this.designEndtime = designEndtime;
    }
}